package appli.calcul;

public class batiment {

	private int id;
	private String nom;
	private String telephone;
	private String adresse;
	private double latitude;
	private double longitude;
	private String photo;
	private Categorie cat;
	private String zone;
	
	
	
	
	public batiment(int id, String nom, String telephone, String adresse,
			double latitude, double longitude, String photo, int idc, String nomc,
			String zone) {
		super();
		this.id = id;
		this.nom = nom;
		this.telephone = telephone;
		this.adresse = adresse;
		this.latitude = latitude;
		this.longitude = longitude;
		this.photo = photo;
		this.cat = new Categorie(idc, nomc);
		this.zone = zone;
	}

	public int getId() {
		return id;
	}
	
	public String getNom() {
		return nom;
	}
	
	public void setNom(String nom) {
		this.nom = nom;
	}
	
	public String getTelephone() {
		return telephone;
	}
	
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
	public String getAdresse() {
		return adresse;
	}
	
	public void setAdresse(String adresse) {
		this.adresse = adresse;
	}
	
	public double getLatitude() {
		return latitude;
	}
	
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	public double getLongitude() {
		return longitude;
	}
	
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	public String getPhoto() {
		return photo;
	}
	
	public int getCat() {
		return cat.getId();
	}
	
	public String getZone() {
		return zone;
	}
	
}
